home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Http Server / •OT_Classes / TNetworkServerApp.h < prev    next >
Encoding:
Text File  |  1996-01-11  |  1.2 KB  |  42 lines  |  [TEXT/CWIE]

  1. //    TNetworkServerApp.h - Macintosh OpenTransport Network Server Application class object
  2. // 
  3. // Apple Macintosh Developer Technical Support
  4. // Written by:  Vinne Moscaritolo
  5. //
  6. //  Copyright (work in progress)  Apple Computer, Inc All rights reserved.
  7. //
  8. // You may incorporate this sample code into your applications without
  9. // restriction, though the sample code has been provided "AS IS" and the
  10. // responsibility for its operation is 100% yours.  However, what you are
  11. // not permitted to do is to redistribute the source as "DSC Sample Code"
  12. // after having made changes. If you're going to re-distribute the source,
  13. // we require that you make it clear in the source that the code was
  14. // descended from Apple Sample Code, but that you've made changes.
  15. // 
  16.  
  17. #ifndef _H_TNETWORKSERVERAPP
  18. #define _H_TNETWORKSERVERAPP
  19.  
  20. #include "TBackGroundApp.h" 
  21.  
  22. //
  23. // TNetworkServerApp  - Macintosh OpenTransport Network Server Application class object
  24. //
  25. class TNetworkServerApp : public TBackGroundApp
  26. {
  27.  
  28. //     CONSTRUCTORS AND DESTRUCTORS
  29. public:
  30.              TNetworkServerApp();
  31.     virtual    ~TNetworkServerApp();
  32.  
  33. // HIGH LEVEL FUNCTIONS
  34. public:
  35.     virtual void Start();        // start the application and let it run
  36.     virtual void DoIdle();        // call idle handler
  37.  
  38. };
  39.  
  40.  
  41. #endif
  42.